#!/usr/bin/python
#File name: reference.py

print 'Simple Assignment'

shoplist = ['apple', 'mango', 'carrot', 'banana']
mylist = shoplist

print 'shoplist is %s' % shoplist[:]
del shoplist[0]

print 'shoplist is %s' % shoplist[:]
print 'mylist is %s' % mylist[:]

print 'Copy by making a fulling slice'
mylist = shoplist[:]
del mylist[0]

print 'shoplist is %s' % shoplist[:]
print 'mylist is %s' % mylist[:]
